// @ts-expect-error defineFakeRoute
import { defineFakeRoute } from "vite-plugin-fake-server/client";

export default defineFakeRoute([
  {
    url: "/user/list",
    method: "get",
    response: () => {
      return {
        code: 200,
        message: "success",
        data: {
          list: [
            {
              id: "22Fec51F-cC6B-B56A-E4c3-ebf1decCE1Ed",
              username: "傅秀英",
              gender: 1,
              age: 17,
              idCard: "520000200912065770",
              email: "i.sxqk@hxq.ug",
              address: "安徽省 宿州市 砀山县",
              createTime: "2006-06-30",
              status: true,
              avatar: "http://dummyimage.com/728x90"
            },
            {
              id: "F2Dcf2d9-E6E3-df99-8a7e-e3B90C9E626E",
              username: "侯明",
              gender: 1,
              age: 25,
              idCard: "530000201706253881",
              email: "e.rgluf@opxlnbryv.np",
              address: "青海省 果洛藏族自治州 达日县",
              createTime: "2012-04-10",
              status: false,
              avatar: "http://dummyimage.com/180x150"
            },
            {
              id: "04cBcfFd-3a2a-c559-79e2-c56A62EdbBF7",
              username: "钱敏",
              gender: 2,
              age: 24,
              idCard: "65000019730530229X",
              email: "r.cxogtclu@bmkfutd.jm",
              address: "广东省 东莞市 -",
              createTime: "1973-04-02",
              status: true,
              avatar: "http://dummyimage.com/180x150"
            },
            {
              id: "7a20a491-4edf-acbD-2FE5-cCBF385916de",
              username: "易杰",
              gender: 2,
              age: 19,
              idCard: "230000199907227654",
              email: "g.gxxeicfus@eclq.mz",
              address: "贵州省 毕节市 织金县",
              createTime: "2010-04-05",
              status: true,
              avatar: "http://dummyimage.com/300x250"
            },
            {
              id: "e1D5C442-F4E4-6ad8-F7CD-F6e5CE4DeC61",
              username: "孟霞",
              gender: 1,
              age: 15,
              idCard: "810000200806218453",
              email: "f.aljqkxl@aaplwozy.cy",
              address: "西藏自治区 阿里地区 其它区",
              createTime: "2005-10-02",
              status: true,
              avatar: "http://dummyimage.com/120x90"
            },
            {
              id: "0bAC80eA-eBAd-CcFB-F4EF-D16c2FF31DD5",
              username: "许娟",
              gender: 1,
              age: 26,
              idCard: "230000198412092941",
              email: "w.nvm@efobqs.cr",
              address: "福建省 南平市 建阳市",
              createTime: "1997-11-11",
              status: true,
              avatar: "http://dummyimage.com/234x60"
            },
            {
              id: "EfCE96Fe-78b7-1E8f-eF89-cAe8DfDc2bE8",
              username: "钱娜",
              gender: 1,
              age: 24,
              idCard: "520000200612035705",
              email: "n.jpnsoeo@wxsbv.aero",
              address: "河北省 邢台市 广宗县",
              createTime: "1976-07-08",
              status: false,
              avatar: "http://dummyimage.com/120x90"
            },
            {
              id: "A6811bAc-fbD2-bbDb-84D5-87c2A8b21C11",
              username: "宋秀英",
              gender: 1,
              age: 27,
              idCard: "460000198308148688",
              email: "p.fjizju@kimmsl.cz",
              address: "浙江省 台州市 仙居县",
              createTime: "2011-06-28",
              status: false,
              avatar: "http://dummyimage.com/250x250"
            },
            {
              id: "A210e9b0-32e5-4d5e-F3df-E4cE89642e95",
              username: "顾勇",
              gender: 2,
              age: 27,
              idCard: "500000198506113227",
              email: "i.uvljm@tutdl.ga",
              address: "陕西省 铜川市 耀州区",
              createTime: "1981-07-13",
              status: true,
              avatar: "http://dummyimage.com/125x125"
            },
            {
              id: "E537AC45-cDCf-6A6E-39D6-8af267f8eAe9",
              username: "胡明",
              gender: 2,
              age: 26,
              idCard: "500000201805014354",
              email: "v.gpsvp@cqhqv.pt",
              address: "福建省 厦门市 湖里区",
              createTime: "2014-10-03",
              status: false,
              avatar: "http://dummyimage.com/120x600"
            }
          ],
          current: 1,
          pageSize: 10,
          total: 200
        }
      };
    }
  }
]);
